package com.ktjy.t382.ch01.service;


import com.ktjy.t382.ch01.pojo.SysUser;

import java.util.List;

public interface SysUserService {
    /**
     * 查询用户列表
     */
    public List<SysUser> findList(SysUser sysUser, Integer pageNo, Integer pageSize);

    public Integer getSysUserCount(SysUser sysUser);

    public int saveBatch(SysUser sysUserList);

    public int updateBatch(SysUser sysUserList);

    public int deleteBatch(Integer idList);

    public SysUser getById(Integer id);

    public SysUser getSysUserByAccountBiz(String account);

    public SysUser findByAccount(String account) throws Exception;
}
